package com.hotel.dao;

import java.util.List;

import com.hotel.entity.Position;

public interface PositionMapper {
    int deleteByPrimaryKey(Integer positionId);

    int insert(Position record);

    int insertSelective(Position record);

    Position selectByPrimaryKey(Integer positionId);

    int updateByPrimaryKeySelective(Position record);

    int updateByPrimaryKey(Position record);
    
    /**
     * 按部门ID查询职位
     * @param deptId
     * @return
     */
    List<Position> findPositionByDeptId(Integer deptId);
}